package com.zoe.vhr.enums;

/**
 * @Author Zoe.Zhang
 * @Date: 2021/08/04
 * @Description 缓存key的枚举
 */
public enum RedisKeyEnum {
    /**
     * 验证码Key
     */
    VERIFY_CODE("verifyCode"),
    /**
     * 验证码uuid
     */
    VERIFY_UUID("verifyCode:uuid"),

    /**
     * 缓存全部的菜单对应的角色信息
     */
    ALL_MENUS("vhr:menus"),

    /**
     * 刷新主菜单主题
     */
    REFRESH_MENU_TOPIC("refresh_menu_topic");
    private String key;


    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    RedisKeyEnum() {
    }

    RedisKeyEnum(String key) {
        this.key = key;
    }
}
